<tr class="<?php echo $name ?>data">
    <td colspan="8" class="ui-widget-content">
        <div id="primaryDiv" class="<?php echo $name ?>slide">
            <span id="points" class="ui-widget ui-helper-clearfix ui-state-default ui-corner-all">Points: <?php echo $playerinfo->getPoints() ?></span>
            <span id="points" class="ui-widget ui-helper-clearfix ui-state-default ui-corner-all">Lifetime: <?php echo $playerinfo->getLifetime() ?></span>
            <span id="points" class="ui-widget ui-helper-clearfix ui-state-default ui-corner-all">Spent: <?php echo ($playerinfo->getLifetime()-$playerinfo->getPoints()) ?></span>
            <?php for ($i = 0; $i < count($talentSpecs); $i++): ?>
                <?php if (isset($talentSpecs[$i]) && $talentSpecs[$i]['Talent']['name'] != "Unknown"): ?>
            <span id="talent" class="ui-widget ui-helper-clearfix ui-state-default ui-corner-all">
                <a href="http://www.wowarmory.com/talent-calc.xml?cid=<?php echo $playerinfo->getClassid() ?>&tal=<?php echo $talentSpecs[$i]['url'] ?>">
                            <?php
                            echo image_tag('/images/talent/'.strtolower($playerinfo->getPClass()).(($talentSpecs[$i]['Talent']['talentid']!='')?$talentSpecs[$i]['Talent']['talentid']:3).'.jpg', array("size"=>"16x16", 'align' => 'ABSMIDDLE'));
                            ?>
                            <?php echo $talentSpecs[$i]['Talent']['name'] ?> (<?php echo $talentSpecs[$i]['spec']?>)</a>
            </span>
                <?php endif; ?>
            <?php endfor; ?>
            <br />
            <div id="tabsAjax">
                <ul>
                    <li><a href="#tabsAjax-item">Recent Items</a></li>
                    <li><a href="#tabsAjax-point">Recent Points</a></li>
                    <li><a href="#tabsAjax-raid">Recent Raids</a></li>
                </ul>
                <?php
                foreach ($tabs as $value => $tab)
                {
                    include_partial('tab/'.$tab['tab'], array('tab' => $tab, 'url_for' => url_for("@view_player?raidslug=".$playerinfo->getRaidslug()."&fullname=".$playerinfo->getFullname())));
                }
                ?>
            </div>
        </div>
    </td>
</tr>
